package cn.stylefeng.guns.modular.business.service;

import cn.stylefeng.guns.modular.business.entity.TrainingRecordRequest;
import cn.stylefeng.guns.modular.business.pojo.TrainingRecord;
import cn.stylefeng.roses.kernel.db.api.pojo.page.PageResult;
import com.baomidou.mybatisplus.extension.service.IService;

public interface TrainingRecordService extends IService<TrainingRecord> {

    boolean edit(TrainingRecordRequest trainingRecordRequest);

    void add(TrainingRecordRequest trainingRecordRequest);

    PageResult<TrainingRecord> findPage(TrainingRecordRequest trainingRecordRequest);

    TrainingRecord findOneById(Long recordId);

    boolean audit(TrainingRecordRequest trainingRecordRequest);
}
